﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Repositories.Server
{
	/// <summary>
	/// 底层服务接口返回模型
	/// </summary>
	public class Server_Result<T>
	{
		/// <summary>
		/// 返回码 0：操作成功；小于0：操作失败
		/// </summary>
		public int msg_id { get; set; }
		/// <summary>
		/// 错误消息
		/// </summary>
		public string msg { get; set; }
		/// <summary>
		/// 数据
		/// </summary>
		public T data { get; set; }
	}

	/// <summary>
	/// 底层服务接口返回模型
	/// </summary>
	public class Server_ResultEmpty
	{
		/// <summary>
		/// 返回码 0：操作成功；小于0：操作失败
		/// </summary>
		public int msg_id { get; set; }
		/// <summary>
		/// 错误消息
		/// </summary>
		public string msg { get; set; }
	}
}
